package cc.ccoke.design.factory.method;

import cc.ccoke.design.factory.entity.Animal;
import cc.ccoke.design.factory.entity.Cat;

/**
 * 猫工厂类
 * @author ccoke
 */
public class CatFactory implements AnimalFactory {
    @Override
    public Animal getAnimal() {
        return new Cat();
    }
}
